package com.arpa.wms.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 积分设置
 * </p>
 *
 * @author wangdong
 * @since 2021-06-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_points_setting")
@ApiModel(value="PointsSetting对象", description="积分设置")
public class PointsSetting extends BasicEntity{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设置标识：pack打包、paste贴单，pack_paste:打包和贴单，first第一名, second第二名, third第三名")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "仓库")
    @TableField("warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "所属机构")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty(value = "设置名称")
    @TableField("setting_name")
    private String settingName;

    @ApiModelProperty(value = "设置积分")
    @TableField("setting_points")
    private BigDecimal settingPoints;

}
